package com.binhai.springboot.menu.dao;


import com.binhai.springboot.menu.bean.MenuBean;
import com.binhai.springboot.org.bean.OrgBean;
import com.binhai.springboot.tree.TreeBean;
import com.binhai.springboot.user.bean.UserBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface MenuBeanDao {


    List<TreeBean> getAllTreeData();

    List<MenuBean> getAllData();

    List<MenuBean> selectData(String name);

    void insertData(MenuBean bean);

    void updateData(MenuBean bean);

    void deleteData(MenuBean bean);

    MenuBean getAllMenu();

    MenuBean getCurrentUserAllMenu(UserBean user);
}